package com.nbot.server.service.impl;

import com.nbot.server.domain.TFxglykzDetail;
import com.nbot.server.mapper.cluster.TFxglykzDetailMapper;
import com.nbot.server.service.TFxglykzDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TFxglykzDetailServiceImpl implements TFxglykzDetailService {
    @Autowired
    private TFxglykzDetailMapper tFxglykzDetailMapper;

    @Override
    public int getTodayCount() {
        return tFxglykzDetailMapper.getTodayCount();
    }

    @Override
    public List<TFxglykzDetail> findLastN(int n) {
        return tFxglykzDetailMapper.findLastN(n);
    }
}
